package com.stadium.service;

import java.util.List;
import java.util.Map;

import com.stadium.dto.BasicsRecordDto;
import com.stadium.dto.RecordDictDto;
import com.stadium.entity.RecordStatistical;
import com.stadium.dto.RecordStatisticalDto;
import com.stadium.vo.RecordStatisticalVo;
import com.stadium.vo.searchVo.RecordStatisticalSearchVo;

/**
 * 比赛事件统计
 *
 * @author wsl
 * @email
 * @date 2021-06-21 22:36:07
 */
public interface RecordStatisticalSV{
	List<RecordStatistical> queryBySQL(String sql, Map<String, Object> map);

    void save(RecordStatisticalVo recordStatisticalVo);

    void saveBatch(List<RecordStatistical> list);

    void delete(String id);

    void deleteBatch(String[] ids);

    void update(RecordStatisticalVo recordStatisticalVo);

    List<RecordStatisticalDto> query(RecordStatisticalSearchVo searchVo);

    RecordStatisticalDto get(String id);

    int getCount(RecordStatisticalSearchVo recordStatisticalsearchVo);

    Map<String,List<Map<String,Object>>> getInfo(String scheduleId,String belong);

    Map<String, List<BasicsRecordDto>> record(String scheduleId);

    List<RecordDictDto> getHeader(String scheduleId, String belong);
}
